# LibTmux::Workspace::ApplyResult::Effect.[]

**Workspace Manager concept example** A working example of the core library. It can change without notice.

- **Module:** LibTmux::Workspace::ApplyResult
- **Package:** libtmux-workspace
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/d8ce4bbee0ca7748a81929f81f7d8d07f8c51267/gems/libtmux-workspace/lib/libtmux/workspace/apply.rb#L6
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.3/workspace/reference/libtmux-workspace-applyresult-effect-[]/

```
def self.[]: (
  ::Integer?,
  ::Symbol,
  :observed | :dispatch_only
) -> instance

def self.[]: (
  step_id: ::Integer?,
  action: ::Symbol,
  outcome: :observed | :dispatch_only
) -> instance
```

Behavior: Workspace results.

Behavior contract: Workspace results.

## Parameters

- `arg1` (`::Integer?`) (for `[](arg1, arg2, arg3)`)
- `arg2` (`::Symbol`) (for `[](arg1, arg2, arg3)`)
- `arg3` (`:observed | :dispatch_only`) (for `[](arg1, arg2, arg3)`)
- `step_id` (`::Integer?`) (for `[](step_id, action, outcome)`)
- `action` (`::Symbol`) (for `[](step_id, action, outcome)`)
- `outcome` (`:observed | :dispatch_only`) (for `[](step_id, action, outcome)`)
